package org.beetl.support;

import javax.sql.DataSource;

public class DefaultJdbcSupport extends JdbcSupport {

 public DefaultJdbcSupport(JdbcConfigManager jdbcConfigManager) {
  super(jdbcConfigManager);
 }

 /**
  * Builds the data source.
  *
  * @param jdbcConfig
  *         the jdbc config
  * @return the data source
  */
 public DataSource buildDataSource(JdbcConfig jdbcConfig) {
  return new JdbcConfigDataSource(jdbcConfig);
 }
}
